/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.resource.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lczyfz.istep.common.persistence.Page;
import com.lczyfz.istep.common.service.CrudService;
import com.lczyfz.istep.modules.resource.entity.SceneRouterPort;
import com.lczyfz.istep.modules.resource.dao.SceneRouterPortDao;

/**
 * 文件上传示例Service
 * @author dh
 * @version 2017-07-21
 */
@Service
@Transactional(readOnly = true)
public class SceneRouterPortService extends CrudService<SceneRouterPortDao, SceneRouterPort> {

	public SceneRouterPort get(String id) {
		return super.get(id);
	}
	
	public List<SceneRouterPort> findList(SceneRouterPort sceneRouterPort) {
		return super.findList(sceneRouterPort);
	}
	
	public Page<SceneRouterPort> findPage(Page<SceneRouterPort> page, SceneRouterPort sceneRouterPort) {
		return super.findPage(page, sceneRouterPort);
	}
	
	@Transactional(readOnly = false)
	public void save(SceneRouterPort sceneRouterPort) {
		super.save(sceneRouterPort);
	}
	
	@Transactional(readOnly = false)
	public void delete(SceneRouterPort sceneRouterPort) {
		super.delete(sceneRouterPort);
	}
	
}